package cn.honqun.tinycms.domain.copier;

import cn.honqun.tinycms.domain.entity.Role;
import cn.honqun.tinycms.domain.vo.RoleVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface RoleCopier {
    RoleCopier INSTANCE = Mappers.getMapper(RoleCopier.class);

    RoleVO toRoleVO(Role role);

    Role toRoleBO(RoleVO roleVO);
}

